<?php
	include_once("../includes/header.php");	
	include_once("../includes/connect.php");	
?>	<!-- ************** V MAIN CONTENT HERE  V ********************************************************************************** -->  
	
		<h2>SATE Results</h2>
		<table cellspacing="0">
			<tr>
				<th width="50px"></th>
				<th>Teacher's Name</th>
			</tr>
<?php
		$rs_teachers = $conn2->Execute("SELECT * FROM teachers");
		
		while(!$rs_teachers->EOF)
		{
			echo "<tr>";
			echo "<td align='right'><a href='../teacher/index.php?a=result&i=".$rs_teachers->fields["emp_id"]."'>View</a></td>";
			echo "<td>".$rs_teachers->fields["name"]."</td>";
			echo "</tr>";
			
			$rs_teachers->MoveNext();
		}
?>
		</table>
		  
<?php 
	include_once("../includes/sidebar.php");
	include_once("../includes/footer.php");
?>
